package com.example.ourradio;

public enum AudioState {
	NULL, IDLE, INITIALIZED, STARTED, PAUSED, STOPPED, COMPLETED;
	
	public String toNotificationText() {
		if (this == STARTED) {
			return "Playing";
		} else if (this == PAUSED) {
			return "Paused";
		} else if (this == STOPPED || this == COMPLETED) {
			return "Stopped";
		} else {
			return "Idle";
		}
	}
}
